package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.GOOGLE_INFO;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class GoogleInfoApi implements IRequestApi, IRequestType {


    @NonNull
    @Override
    public String getApi() {
        return GOOGLE_INFO;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }


    public static final class ResGoogleInfoBean {
        private String ladybird;
        private int navigability;
        private String nonpros;
        private String heckle;

        public String getLadybird() {
            return ladybird;
        }

        public int getNavigability() {
            return navigability;
        }

        public String getNonpros() {
            return nonpros;
        }

        public String getHeckle() {
            return heckle;
        }
    }
}

